using System;

namespace Webshop20.Application.DataTransferObjects
{
    public class CartItemDTO
    {
        private string productTitle;
        private int productId;
        private int quantity;
        private decimal price;
        private DateTime addedAt;

        public CartItemDTO(string productTitle, int productId, int quantity, decimal price, DateTime addedAt)
        {
            this.productTitle = productTitle;
            this.addedAt = addedAt;
            this.price = price;
            this.quantity = quantity;
            this.productId = productId;
        }

        public CartItemDTO()
        {}

        public DateTime AddedAt
        {
            get { return addedAt; }
            set { addedAt = value; }
        }

        public int Quantity
        {
            get { return quantity; }
            set { quantity = value; }
        }

        public decimal ProductPrice
        {
            get { return price; }
            set { price = value; }
        }



        public int ProductId
        {
            get { return productId; }
            set { productId = value;}
        }

        public string ProductName
        {
            get { return productTitle; }
            set { productTitle = value; }
        }
    }
}